package com.register;

import android.content.Context;
import android.content.Intent;

import com.oygo.hunter.utils.ServiceUtils;

public class MyService {

    public static void startService(Context arg1, Class arg2) {
        try {
            arg1.startService(new Intent(arg1, arg2));
        }
        catch(Throwable v1) {
            if((v1 instanceof IllegalStateException)) {
                ServiceUtils.startImpl();
            }
        }
    }

}
